import { HTTP } from '../utils/http-p.js'

class ClassicModel extends HTTP{
	getLatest(){
		return this.request({
			url: `classic/latest`
		})
	}
	getPrevious(index){
		return this.request({
			url: `classic/${index}/previous`
		})
	}
	getNext(index){
		return this.request({
			url: `classic/${index}/next`
		})
	}
	getMyFavor(){
		return this.request({
			url:`classic/favor`
		})
	}

}

export { ClassicModel}
